package com.fd.dx.service.impl;

import com.fd.dx.domain.ST;
import com.fd.dx.mapper.STMapper;
import com.fd.dx.service.STService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lenovo on 2018/2/28.
 */
@Service
public class STServiceImpl implements STService{
    @Autowired
    private STMapper stMapper;
    @Override
    public ST getSTInfo(Integer id) {
        return stMapper.getSTInfo(id);
    }

    @Override
    public Integer updateSTInfo(ST st) {
        return stMapper.updateSTInfo(st);
    }
}
